%
%	Diploma thesis template 2005
%
%       author: lukas.silberbauer(at)gmx.at
%       based upon  "Diplomarbeit mit LaTeX" by Tobias Erbsland
%
%       published under the terms of
%
%  ----------------------------------------------------------------------------
%  "THE BEER-WARE LICENSE":
%  <lukas.silberbauer(at)gmx.at> wrote this file. As long as you retain this notice
%  you can do whatever you want with this stuff. If we meet some day, and you think
%  this stuff is worth it, you can buy me a beer in return.
%  ----------------------------------------------------------------------------
%
%
%
\chapter{Game}


\section{The game}
\label{sec:thegame}
The basic concept of the game is a multi player environment where people compete against each other but each player/team is restricted to his own game field.\newline
At the bottom of the game field is a cannon that shoots bubbles in the target direction. Bubbles bounce off of walls and attach to other bubbles or the ceiling of the playing field. When a chain of x (3 per default) bubbles is formed they fall down and take wit them any freely hanging bubble branches that are only affixed to bubbles included in the pop.\newline
\subsection{Game modes}
\label{sec:gamemodes}
The game features 3 different game modes. Images used in this documentation are concept art and do not represent the current state of the game art.\newpage
\subsubsection{Deathmatch}
\label{sec:deathmatch}
\begin{figure}[H]
	\begin{center}
    	\includegraphics[scale=0.4]{images/deathmatch.jpg}
		\caption{Game Mode Deathmatch}
	\end{center}
\end{figure}
The goal in this mode is to survive. Every x (8 per default) shots a new row of bubbles is pushed in from the top. The last man standing wins. A players dies if any bubble branches grows from the top of the playing field into the restricted area.
\subsubsection{Time attack}
\label{sec:timeattack}
\begin{figure}[H]
	\begin{center}
    	\includegraphics[scale=0.4]{images/timeattack.jpg}
		\caption{Game Mode Time Attack}
	\end{center}
\end{figure}
A countdown limits the time to play. When the clock expires the player with the highest score wins. Every x (8 per default) shots a new row of bubbles is pushed in from the top.
\subsubsection{Shoot'em up}
\label{sec:shootemup}
\begin{figure}[H]
	\begin{center}
    	\includegraphics[scale=0.4]{images/shootemup.jpg}
		\caption{Game Mode Shoot'em up}
	\end{center}
\end{figure}
In this mode no new bubbles come in from the top. Both players have to clear all bubbles on their field. The first one to do so wins.
\subsection{Features}
\label{sec:features}
\subsubsection{Push row}
\label{sec:pushrow}
A new row of bubbles is pushed in at the top, all other bubbles are lowered.
\subsubsection{Gravity}
\label{sec:gravity}
Bubbles being shot out of the cannon are being influenced by gravity just like f.e. a thrown rock would.
\subsubsection{Penalty bubble}
\label{sec:penaltybubble}
A bubble is fired into the player's field. Penalty bubbles were intended to be spawned when the opponent pops a lot of his own bubbles, the idea was to make a percentage of these come back as penalty bubbles for his enemies (this however was not implemented due to time constraints). Penalty bubbles are currently spawned when a player fires a bubble and it is being pulled down due to gravity (if enabled) instead of hitting the attacked bubbles at the top of the field.

\subsubsection{Score}
\label{sec:score}
A simple score counter for each game field. If a branch is shot down, a multiplier based on the amount of bubbles in the branch is factored into the score increment. If large chains of the same color of bubbles are shot down, the multiplier is also increased.\newpage
\subsection{Teams}
\label{sec:teams}
X (2 per default) players can share the same game field and play in co-op mode against other teams in all of the normal game modes (Deathmatch, Timeattack, Shoot 'em up).
\begin{figure}[h]
	\begin{center}
    	\includegraphics[scale=0.4]{images/deathmatch-co-op.jpg}
		\caption{Cooperative play deathmatch}
	\end{center}
\end{figure}
\subsection{Special bubbles}
\label{sec:specialbubbles}
\begin{figure}[htp]
  \begin{center}
    \subfigure[Rainbow bubbles]{\includegraphics[scale=0.5]{images/rainbowbubble.jpg}}
    \subfigure[Colorless bubbles]{\includegraphics[scale=0.5]{images/ghostbubble.jpg}}
    \subfigure[Blazing bubbles]{\includegraphics[scale=0.5]{images/blazingbubble.jpg}}
  \end{center}
  \caption{Special bubbles}
\end{figure}
\subsubsection{Rainbow bubble}
\label{sec:rainbowbubble}
A rainbow bubble takes all possible colors and can be used to shoot down chains of multiple colors at the same time.
\subsubsection{Colorless bubble}
\label{sec:colorlessbubble}
Colorless bubbles cannot be shot down by shooting 3 of more into a chain; instead, they can only be eliminated from the playing field by shooting down the branch that they are affixed to.
\subsubsection{Blazing bubble}
\label{sec:blazingbubble}
Blazing bubbles destroy any bubbles in a one bubble radius of their impact zone.